//
//  ZYLAuthorTopicModel.m
//  Cartoon
//
//  Created by dllo on 15/7/15.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ZYLAuthorTopicModel.h"

@implementation ZYLAuthorTopicModel
- (void)dealloc
{
    [_topiccover_image_url release];
    [_topicdescription release];
    [_topicId release];
    [_topictitle release];
    [_topicuser_id release];
    [_topicvertical_image_url release];
    [super dealloc];
}

- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
}
- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:[NSString stringWithFormat:@"topic%@", key]];
}

@end
